<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
			<script type="text/javascript" src="../js/jquery-1.4.3.js" ></script>
		<title></title>
	</head>
	<body>
		<!---->
		<!--<%
  request.setAttribute("context", (String)request.getContextPath()); 
  request.setAttribute("res", (String)(request.getContextPath()+"/static/")); 
  request.setAttribute("version", "1.0"); 
%>
<script>
	var context="${context}";
	var res="${res}";
</script>-->

<input type="color" value="#67bf40" onchange="ff(this)"/>
   <div class="form-group">
		                        <label class="col-lg-3 control-label">Fav color</label>
		                        <div class="col-lg-3">
		                            <input class="form-control" name="color" type="color" required data-fv-color-message="The input is not a valid color code" />
		                        </div>
		                    </div>

<script type="text/javascript">
var zz = $("#dd").val();
alert(zz);
function ff(v){
	var val = $(v).val();
	alert(val)
}

</script>










	</body>
</html>
